package com.andy.beef.ui.main.bean

import java.io.Serializable

/**
 *@Author: luofan
 *@CreateDate: 2021/6/29 9:40
 *cattleCount (integer, optional): 存栏量 ,
cattleFarmId (integer, optional): 牛场ID ,
feedCattleCount (integer, optional): 投喂牛只数量 ,
feedDate (string, optional): 饲喂日期 ,
feedFenceCount (integer, optional): 投喂牛栏数量 ,
feedList (Array[Feed], optional): 今日投料数量 ,
fenceCount (integer, optional): 牛栏数量 ,
unFeedCattleCount (integer, optional): 未投喂牛只数量
 */
data class TmrSummaryBean(
        var cattleCount: Int = 0,
        var cattleFarmId: Int = 0,
        var feedCattleCount: Int = 0,
        var feedDate: Long = 0,
        var feedFenceCount: Int = 0,
        var feedList: List<Feed> = listOf(),
        var fenceCount: Int = 0,
        var unFeedCattleCount: Int = 0
) : Serializable

/**
actualDosage (number, optional): 实际用量 ,
dosage (number, optional): 配方配置用量 ,
fodderId (string, optional): 饲料Id ,
fodderName (string, optional): 饲料名字 ,
fodderUnit (string, optional): 饲料单位 ,
plannedDosage (number, optional): 计划用量 ,
sort (integer, optional): 投料顺序
 */
data class Feed(
        var actualDosage: Double = 0.0,
        var dosage: Double = 0.0,
        var fodderId: String = "",
        var fodderName: String = "",
        var fodderUnit: String = "",
        var plannedDosage: Double = 0.0,
        var sort: Int = 0
) : Serializable